@echo off
set APP_HOME=./target
set MAIN_CLASS=org.hxzon.rpggame.RpggameServer

set TCP=%JAVA_HOME%/lib/tools.jar
set TCP=%TCP%;%APP_HOME%/classes
for /R %APP_HOME%/lib %%p in (*.jar) do call set TCP=%%TCP%%;%%p
rem set TCP=%TCP%;%APP_HOME%/lib/*.jar
echo %TCP%
java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=7777 -Xmx512m -cp %TCP% %MAIN_CLASS%
PAUSE